package cn.tedu.charging.common.pojo.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.AccessLevel;
import lombok.Data;
import lombok.experimental.FieldDefaults;

import java.util.Date;
import java.util.List;

@Data
@FieldDefaults(level = AccessLevel.PRIVATE)

public class StaffVO {
    @ApiModelProperty(value = "员工id")
    Long id;
    @ApiModelProperty(value = "员工账号")
    String tel;
    @ApiModelProperty(value = "用户名")
    String username;
    @ApiModelProperty(value = "员工性别")
    String gender;
    @ApiModelProperty(value = "员工职级")
    String job;
    @ApiModelProperty(value = "员工学历")
    String education;
    @ApiModelProperty(value = "出生年月")
    Date birth;
    @ApiModelProperty(value = "毕业院校")
    String graduSchool;
    @ApiModelProperty(value = "员工状态")
    String status;
    @ApiModelProperty(value = "员工入职时间")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    Date startTime;
    @ApiModelProperty(value = "员工简介")
    String brief;
    @ApiModelProperty(value = "是否是管理员")
    String isAdmin;
    @ApiModelProperty(value = "员工头像路径")
    String imgUrl;
    @ApiModelProperty(value = "员工年龄")
    String age;
    @ApiModelProperty(value = "身份证号")
    String idCard;
    @ApiModelProperty(value = "角色集合")
    List<Long> roleIdList;

    @ApiModelProperty(value = "权限集合")
    List<Long> permList;
}
